package com.moli.iov.admin.service;

import com.moli.iov.base.model.dto.req.QueryVehicleTboxListParamDto;
import com.moli.iov.base.model.dto.req.VehicleTboxReqDto;
import com.moli.iov.base.model.dto.req.VehicleTboxUpdateReqDto;
import com.moli.iov.base.model.dto.res.VehicleTboxResDto;
import com.moli.iov.model.dto.req.PageExtend;
import com.moli.iov.rest.RestResponse;

/**
 * 车辆监控> 车载终端
 * @author whl
 */
public interface VehicleTboxService {

  /**
   * 车载终端列表
   *
   * @param queryVehicleTboxListParamDto
   * @return
   */
  RestResponse<PageExtend<VehicleTboxResDto>> listVehicleTbox(QueryVehicleTboxListParamDto queryVehicleTboxListParamDto);

  /**
   * 变更SIM卡号
   * @param dto
   * @return
   */
  RestResponse updateVehicleTbox(VehicleTboxUpdateReqDto dto);

  /**
   * 得到详情
   * @param dto
   * @return
   */
  RestResponse getVehicleTboxDetails(QueryVehicleTboxListParamDto dto) throws Exception;

  /**
   *  修改终端id
   *
   * @param dto
   * @version 3.01
   * @return
   */
  RestResponse updateVehicleTboxDeviceModel(VehicleTboxReqDto dto);
  /**
   *  添加
   *
   * @param dto
   * @version 3.01
   * @return
   */
  RestResponse saveVehicleTboxDeviceModel(VehicleTboxReqDto dto);
}
